package org.yabam.action;

import net.sourceforge.stripes.action.ActionBean;
import net.sourceforge.stripes.action.ActionBeanContext;

/**
 * Mainly copied/pasted from Bugzooky stripes example.
 *
 * @author Tim Fennell
 * @author brisssou
 */
public abstract class YabamActionBean implements ActionBean {
    private YabamActionBeanContext context;

    public void setContext(ActionBeanContext context) {
        this.context = (YabamActionBeanContext) context;
    }

    /** Gets the ActionBeanContext set by Stripes during initialization. */
    public YabamActionBeanContext getContext() {
        return this.context;
    }

}
